﻿<Window x:Class="Sample.StartTrading.CreateRobot"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Новый Робот" Height="323" Width="401" >
    <Grid ToolTip="Создание Робота" ShowGridLines="True" Height="259" Width="346">
        <Grid Height="194" HorizontalAlignment="Left" Margin="12,10,0,0" Name="grid2" VerticalAlignment="Top" Width="322">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="98" />
                <ColumnDefinition Width="224*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="22" />
                <RowDefinition Height="22" />
                <RowDefinition Height="22" />
                <RowDefinition Height="22" />
                <RowDefinition Height="22" />
                <RowDefinition Height="22" />
                <RowDefinition Height="22*" />
            </Grid.RowDefinitions>
            <Label Content="RobotName:" ToolTip="Имя робота" Grid.ColumnSpan="2" Margin="0,0,191,0" />
            <TextBox Grid.Column="1" Name="RobotName" Text="Robot1" ToolTip="Введите имя Робота" Margin="0,0,33,0" />

            <Label Grid.Row="1" Content="Папка хранения:" Grid.ColumnSpan="2" Margin="0,0,191,0" />
            <!--<TextBox x:Name="XmlFileFolder" Text="" Grid.Column="1" Grid.Row="1" Margin="0,0,24,0" />-->
            <Label x:Name="XmlFileFolder" Content="" Grid.Column="1" Grid.Row="1" Margin="0,0,24,0" />
            <Button x:Name="FindXmlFileFolder" Grid.Column="1" Grid.Row="1" Content="..." Width="25" HorizontalAlignment="Left" Click="FindFolder_Click" Margin="199,0,0,0" />

            <GroupBox Header="Type of Robot" Height="100" Name="groupBox1" Width="200" Margin="0,0,24,6" Grid.Row="4" Grid.RowSpan="3" Grid.Column="1">
                <WrapPanel Height="57" Width="134">
                    <RadioButton Height="16" Name="AutomatRobot" Width="120" Checked="TypeOfRobot_Checked"> AutomatRobot</RadioButton>
                    <RadioButton Height="16" Name="BiasRobot" Width="120" Checked="TypeOfRobot_Checked"> BiasRobot</RadioButton>
                    <RadioButton Height="16" Name="ManualRobot" Width="120" Checked="TypeOfRobot_Checked"> ManualRobot</RadioButton>
                </WrapPanel>
            </GroupBox>
            <!--<RadioButton Content="AutomatRobot" Grid.Column="1" Grid.Row="3" Height="22" HorizontalAlignment="Left" Name="radioButton1" VerticalAlignment="Top" Width="105" />
            <RadioButton Content="BiasRobot" Height="22" HorizontalAlignment="Left" Name="radioButton2" VerticalAlignment="Top" Width="105" Grid.Column="1" Grid.Row="4" />
            <RadioButton Content="ManualRobot" Height="22" HorizontalAlignment="Left" Name="radioButton3" VerticalAlignment="Top" Width="105" Grid.Column="1" Grid.Row="5" />-->
            
            <!--<TextBox Grid.Column="1" Name="Security" Grid.Row="1" Text="LKOH" ToolTip="Введите Security" />-->
        </Grid>
        <Button Content="CreateNewRobot" IsEnabled="False" Height="37" HorizontalAlignment="Left" Margin="16,210,0,0" Name="CreateNewRobot" VerticalAlignment="Top" Width="127" Click="CreateNewRobot_Click" />
        <Button Content="RunNewRobot" IsEnabled="False" Height="37" HorizontalAlignment="Left" Margin="199,210,0,0" Name="RunNewRobot" VerticalAlignment="Top" Width="125" Click="RunNewRobot_Click" />
    </Grid>
</Window>


